// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import App from './App'
import router from './router'
import bottom from './components/Bottom' //添加./避免编译器认为是别名
import header from './components/header/Index'
import 'element-ui/lib/theme-chalk/index.css'
//注册全局组件
Vue.component("mhBottom",bottom);
Vue.component("mhHeader",header);



Vue.config.productionTip = false
Vue.use(ElementUI);


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App, },
  template: '<App/>'
})
